package com.moody.hibernate.domain;


/**
 * ReportModel entity. @author MyEclipse Persistence Tools
 */

public class ReportModel implements java.io.Serializable {

	// Fields

	private ReportModelId id;
	private String displayName;
	private String financeItemNo;
	private String itemDef;
	private String checkRule;
	private String displayFlag;
	private String modelValueFlag;
	
	//大总计非简表项
	public static final String DISPLAY_FLAG_GSUMMARY = "02";
	//小总计非简表项
	public static final String DISPLAY_FLAG_CSUMMARY = "01";
	//小项非简表项
	public static final String DISPLAY_FLAG_TERM = "00";
	//既是简表项也是小项
	public static final String DISPLAY_FLAG_GENERAL_TERM = "10";
	//既是简表项也是小总计项
	public static final String DISPLAY_FLAG_GENERAL_CSUMMARY = "11";
	//既是简表项也是大总计项
	public static final String DISPLAY_FLAG_GENERAL_GSUMMARY = "12";
	
	// Constructors

	/** default constructor */
	public ReportModel() {
	}

	/** minimal constructor */
	public ReportModel(ReportModelId id) {
		this.id = id;
	}

	/** full constructor */
	public ReportModel(ReportModelId id, String displayName,
			String financeItemNo, String itemDef, String checkRule,
			String displayFlag) {
		this.id = id;
		this.displayName = displayName;
		this.financeItemNo = financeItemNo;
		this.itemDef = itemDef;
		this.checkRule = checkRule;
		this.displayFlag = displayFlag;
	}

	// Property accessors

	public ReportModelId getId() {
		return this.id;
	}

	public void setId(ReportModelId id) {
		this.id = id;
	}

	public String getDisplayName() {
		return this.displayName;
	}

	public void setDisplayName(String displayName) {
		this.displayName = displayName;
	}

	public String getFinanceItemNo() {
		return this.financeItemNo;
	}

	public void setFinanceItemNo(String financeItemNo) {
		this.financeItemNo = financeItemNo;
	}

	public String getItemDef() {
		return this.itemDef;
	}

	public void setItemDef(String itemDef) {
		this.itemDef = itemDef;
	}

	public String getCheckRule() {
		return this.checkRule;
	}

	public void setCheckRule(String checkRule) {
		this.checkRule = checkRule;
	}

	public String getDisplayFlag() {
		return this.displayFlag;
	}

	public void setDisplayFlag(String displayFlag) {
		this.displayFlag = displayFlag;
	}

	public String getModelValueFlag() {
		return modelValueFlag;
	}

	public void setModelValueFlag(String modelValueFlag) {
		this.modelValueFlag = modelValueFlag;
	}
	

}